let loaction = window.location
let toUrl = ''
let baseUrl=''
	if(loaction.pathname=='/inv/index.html'){//本地包  基础运行路径配置为  ./
		baseUrl=loaction.origin +'/'
	}else if(loaction.pathname=='/dfwy-szxw-sit-8080/'){//判断sit 基础运行路径配置为/dfwy-szxw-sit-8080/
		toUrl='http://10.2.244.228:8000/dfwy-szxw-sit-8082/'
		baseUrl='http://10.2.244.228:8000/dfwy-szxw-sit/'
	}else if(loaction.pathname=='/dfwy-szxw-sit-prod-8080/'){//判断sitprod 基础运行路径配置为/dfwy-szxw-sit-8080/
		toUrl='http://10.2.244.228:8000/dfwy-szxw-sit-prod-8082/'
		baseUrl='http://10.2.244.228:8000/dfwy-szxw-sit-prod/'
	}else if(loaction.pathname=='/dfwy-szxw-dev-8080/'){//判断176 uat基础运行路径配置为/dfwy-szxw-dev-8080/
	   toUrl='http://10.2.244.228:8000/dfwy-szxw-dev-8082/'
	   baseUrl='http://10.2.244.228:8000/dfwy-szxw-dev/'
	}else if(loaction.pathname=='/inv/'){   //生产上线 manifest中H5配置 基础运行路径配置为/inv/  uat也为inv
		toUrl='https://mbank.bankofbbg.com/sdms/auth/'   //北部湾生产地址
		// toUrl='https://sdmstest01.bankofbbg.com:16000/uat/sdms/auth/' //uat
		baseUrl=loaction.origin +'/' 
	}else{//179
		toUrl='http://10.1.28.179:8081/auth/'
		baseUrl='http://10.1.28.180:7777/'
	}
export default {
	baseUrl: baseUrl,
	toUrl: toUrl, 
}